package com.example.study.basic.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: nannan
 * @date: 2020/9/10 10:35 下午
 * @description:
 */
@Getter
@AllArgsConstructor
public enum BasicCode {

    SUCCESS("200","成功"),
    ERROR("500","服务错误"),
    NO_PERMISSION("401","无权限"),
    STANDARD_ERROR("400","标准错误"),
    ;

    /**
     * 返回状态码
     */
    public String code;
    /**
     * 状态信息
     */
    public String msg;
}
